$(document).on('pagebeforeshow', '#pagina1', function (event) {
    TweenLite.to(".menu", 1, {alpha:0});
    $("#icoPg1").toggleClass('active').siblings().removeClass('active');
    $("#icoPg2").removeClass('active');
    $("#icoPg3").removeClass('active');
    $("#icoPg3").removeClass('active');
    $("#icoPg3").removeClass('active');
    $("#icoPg6").removeClass('active');
    $("#icoPg7").removeClass('active');



paginaAtual = 1;
grid.defineGrid(paginaAtual);

});

$(document).on('pageshow', '#pagina1', function (event) {
   podeVirar();
  TweenLite.to("#bgBaixo", 1, {bottom:"-110"});
  TweenLite.to("#setinhasDireita", 3, {alpha:1});
});


$(document).on('pagebeforehide', '#pagina1', function (event) {
  TweenLite.to("#bgBaixo", 0.5, {bottom:"-255"});
});